package com.achievement.service;

import com.achievement.domain.dto.LectureDTO;
import com.achievement.domain.entity.LectureEntity;
import com.achievement.domain.param.LectureParam;
import com.achievement.domain.vo.LectureVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;

public interface ILectureService extends IService<LectureEntity>, BusinessApi {
    List<LectureVO> selectByPage(LectureParam param);

    List<LectureVO> getListByConditions(LectureParam dto);
    LectureVO getInfoById(String id);


    AjaxResult add(LectureDTO dto);

    AjaxResult update(LectureDTO dto);

    boolean batchRemove(List<String> ids);

    /**
     * 左上方统计 通过，退回，待审核
     */
    List<HashMap<String, Integer>> listStatistics(LectureParam param);
}
